<script language="javascript" src="<?=ROOT_PATH?>/html/scripts/pub.js"></script>
<style>
.bodylist {
	padding-top: 0px;
	clear: both;
	height: auto;
}
</style>
				<div id="centerAd" style="background-color:#000">
                                    <a href="#" target="_blank"><img id="centerAdImg"  width="664px" height="230px" /></a>
				</div>
				<div id="adTextDiv"> 
					<div id="innerText">
						<?for($i=0;$i<count($this->imgArray['imgUrl']);$i++):?>
						<a target="_blank" class="ad<?=$i+1?>" href="#"><?=$i+1?></a>
						<?endfor;?>
					</div>
				</div>
			<script>
  	var imgArray=new Array;
	var hrefArray=new Array;
	<?for($i=0;$i<count($this->imgArray['imgUrl']);$i++):?>
		imgArray.push('<?=$this->imgArray['imgUrl'][$i]?>');
		hrefArray.push('<?=$this->imgArray['imgHref'][$i]?>');
	<?endfor;?>
	adChangeAction.pushArray(imgArray,hrefArray);
  	adChangeAction.run();
</script>